import re

ret = re.match(r"^1[35678]\d{9}$","13532123461")

if ret:
	print('合法手机号')
else:
	print('手机号有误')


year = 2020
month = 5
day = 21

#列举所有月份天数
days = [31,28,31,30,31,30,31,31,30,31,30,31]


#判断
def ifleapyear(year):

	return (year % 400 == 0) or (year % 4 == 0 and year % 100 != 0)


if ifleapyear(year):
	#手动赋值
	days[1] = 29

#默认天数
count = 0

for i in range(month - 1):

	count += days[i]
#添加当前月的天数
count += day

print(count)